#pragma once

typedef enum {
    CACHE_ERR_NO_ERR            = 1,
    CACHE_ERR_NOT_FOUND         = 2,
    CACHE_ERR_ALREADY_FLUSHED   = 3,
    CACHE_ERR_NO_SPACE          = 4,
    CACHE_ERR_INVALID           = 5,
    CACHE_ERR_UNKNOW            = 6,
    CACHE_ERR_CLOSED            = 7,
    CACHE_ERR_RETRY_LIMIT       = 8,
    CACHE_ERR_IO_ERR            = 9,
    CACHE_ERR_ALREADY_UPDATE    = 10,
    CACHE_ALL_OFFLINE           = 11,
} my_cache_err_t;